<template>
  <div class="project-experience">
    <h3>项目经验</h3>
    <el-form :model="projectExperienceForm" label-width="120px">
      <el-form-item label="项目名称" style="margin-bottom: 15px;">
        <el-input v-model="projectExperienceForm.name" placeholder="请输入项目名称"></el-input>
      </el-form-item>
      <el-form-item label="参与角色" style="margin-bottom: 15px;">
        <el-input v-model="projectExperienceForm.role" placeholder="请输入参与角色"></el-input>
      </el-form-item>
      <el-form-item label="项目时间" style="margin-bottom: 15px;">
        <el-date-picker
          v-model="projectExperienceForm.time"
          type="daterange"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
          style="width: 100%;"
        ></el-date-picker>
      </el-form-item>
      <el-form-item label="项目经验" style="margin-bottom: 15px;">
        <el-input type="textarea" v-model="projectExperienceForm.experience" placeholder="请输入项目经验（500字以内）" :rows="5"></el-input>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      projectExperienceForm: {
        name: '',
        role: '',
        time: [],
        experience: ''
      }
    };
  }
};
</script>

<style scoped>
.project-experience {
  margin-bottom: 20px;
}
</style>
